Code to generate icon