app template: makes use of the new syntax of guard