add continuous mode.