add map

Why do you need a `var` declaration here?