Changed recievestring to deal in message objects