change to synchronous send