class working 100%