template for squid