Template does something functional now