Did some hashmap stuff