saves to a custom library