optimize command executes business