added more functionality to parser