add multi sequence and switch input