make use of for_pair in a safe way