adding an 'Advanced mode' control to toggle options