getInstance was referring to the wrong class name