waits for a doctor