starting parse code