changed to standard python style