fixed last line, and use camelCase vars only