Tryed creating a callback function to make a graphic using icons