debugging parse.t
extract method + tests