setting icons appropriately