added first draft of data-mode selection