last template formalization
final controller templating