Fixed variable names

change camelcase to snake case.