removed unneeded check which is always true
moved bin op functions out of class body