Why not put this in template(view()) ?