Whenever you're doing this, you should be thinking, "what a good time to use a hash!"