refine class more improved