added average score to index and show