Works with less code programming directly with template tags