controller executes command and displayes result