new python functions now working properly