fixed typo in __getitem__ that caused one of the keys to fail
works and is ready for testing/optimization