command line and new method