Add in add function for hashmap