hmm can't we make the minimal map generic?