- changed none to None due to NameError