changed class code