storing keys in a tree map to keep them in the same order every time code is generated