add functions for extracting the best icons