Added cost to the template