added use of makeExclusiveModes method.