console mode