### Description Code is kind of convoluted, so it should be changed to be directly related to how it's presenting the data. ### Possible solution Change the struct of `keyTable` and update the logic around it.