alert.py implemented