getting the parsers to work correctly