add option for gui