created doctor interface, changed parameters to doctor object