renamed retrieve_demo to retrieve_demographics