implemented scoring system