command completed, need test.  fix bug in decorator