Achievement goals and perceived ability predict investment in learning a sport task.