added command line inputs