refactoring lights
debug lines