small changes for persistence