added local store and model