update function names to follow PEP 8

because why not