added mapconfig as parameter