added patient functionality