added position to enroll query