several additions to the cli library