less stupid icon function