Took out buggy stuff, added back in math operatiors / and %