added template for viewlisting