stores all data locally