mode and modeto commands are added."