factored out default cmap selector