updated variables to snake case