changed how map stores data