Typo: messageRecieved -> messageReceived