Added functions python file