compute score avg