added support for retrieving teachers