commited constructor for Map