convert to camelCase
separate var declaration
remove unused variable
cleanup
fix variable naming