mine command with Command Class