adding text summary to lib.py and associated functions in changewithin.py