new command for extract