working on permenent storage