extracted getInstructorId method from copy