compute score in the store, not the component