Added template to gui