documenting, adding command line functionality