mod12 add cache with map