added storage.grim basic function