simplified api structure for only one professor.