Added safe.py