Made add doctor more perfect