lol peekKey is already O(1)