added utility to params and template for use of archive