command removal/declarations

removed redundant commands;
declared all commands