changeMode added.