getting StudentsDB to work with both masters and phd