working on patient info retrival