moved Ops to be a class variable
made Ops a class variable