added support for light intensity