moved index, del functions under storage