proper constructor for minimap