implemented show icon based on a field