Added magnetic template