Hashmap is replaced with SparseArray