Thermal analysis and design improvement of light