add const to map