extracted class