add template for pools