command line method done