receive messages in loop
message results to master