added template for gui