change names of function and methods according to PEP8