added local.py for convenience