Added multi mode