completed info_retrieval.py