added dynamic map loading