further development of parser