Converted hashtable to work with strings