As above, assigning DAO to template (won't add any more comments about this)