adding setmode and show mode