Better use of 'command'