adjusted template for more readability.