the race works now as well, and added a flag for the message to server