map switch template added