added optional command argument