Changed variable name from camel case to snake case