added command result to command pattern