create initialize method in Doctor class