//Create new offer
while
(!finished){
work()
;
}