made map into a template now