getting parser to work