simplify template for easy to use.