additions to static.py