added show map function (but incomplete)