added function for determining all instructors