bookmarked

added function to generate handles, store in dictionary.