enhancing icon list code structure