Creating auxiliar variables to traverse hash tables