add map showing function