added lighttype enum