moved getData to instructor.dada