added command line arguments. we still need to propagate