started code to generate handles

will need to be careful with making string comparisons for dictionary.
whitespace matters.