added template for functions requested by the GUI