changing to python style standards