Deleting the extra functions
Changinf the position of thigh