updated icon and removed unnecessary code