parseMessage implemented