Example using a custom template