Other method for command line