added the python file for observer