added basic parser functions