Update handler.py

added future considerations