json and storage working