add multi mode