modified class test