Add the function to turn an array into an Hashtable