initial template (with map bugs)