prompt for mode, get working with term