made some additional minor updates to the new library in dev branch.