persistence working on global