commit

mode changing now works