changed function names to follow PEP8 naming convention