Trying to get the parser to work correctly