Adding failed command functions