adding command-dispatcher