public static void logHashMap(int VERBOSE, int flag, HashMap<?, ?> hmap) {
		// try to print gridIndexes
		
		for (Map.Entry< ? , ?> entry : hmap.entrySet()) {
		    
			log(VERBOSE, flag, entry.getKey() + " : " + entry.getValue());
		}
				
	}