removed unnecessary methods in command