Updated to use interleave to make hashmap