Parisng code updated