added parameters for light levels