changing storing functions