added negation to the parsing