handleMessages -> receiveMessage