beginning to parse messages