moved to the right place and use command not subcommand