added timer for multiplayer client and server