working on general simple parser