added a scoring system