Changed all serial com. to be synchronous