start on lib.py