made easier to use with command line