Any reason why you used an inline template?