Minimap function restored