each operator as a class's method