added getDoctor method