controller linked to layout and template+