support new visual mode