command line can be called without an input by putting "" or null instead