changed a lot

but still not storing in local storage