Add poses function for legs