successfully handles case for simple command