new command implementation