changing method names to snake case