renamed a lot of the methods to snake_case