planning some helper methods to implement the local persistence