class changed to MyClass