add promption at switch