starting to handle servermessages