add record_info.py and add docstrings