Added arithmetic templates