implement client and server draws at same time