extracted class for repository hangling