adding render function
generating multiple maps