add light class and fix idention