Adding getStorage function