Switched to python based time