update for new locations of Slice and hashmap