use parseMessage function instead