fixed error in grammar

also made it a lot more simplistic