you shouldn't need to use this mutable map builder; more comments below.