increased func of advparser, can now do or statements