started work on library saving