template for geometric product