leg class created