updated the parser and added get methods to level