updated variables to camelCase