changes to the library made by jp and ms