shorter BookDoctor function

helper functions used