adding more to the parser method