complete command Pattern