public int addEntry(Score newScore) {
		lastIndex++; //update the index of the last entry in the list
		//System.out.println("lastIndex: "+lastIndex);
		// check if list's size needs to be increase
		if (isFull())
			doubleArraySize();
		
		boolean isHighest = false;
		boolean done = false;
		int currentIndex = lastIndex - 1;
		
		while(!done && currentIndex >= 0) {
			//System.out.println("curentIndex: " + currentIndex);
			if (scoreList[currentIndex].compareTo(newScore) < 0)
				scoreList[currentIndex + 1] = scoreList[currentIndex];
			else {
				scoreList[currentIndex + 1] = newScore;
				lastScoreIndex = currentIndex + 1;
				done = true;
			}
			currentIndex--;
		}
		
		// the new score has not been added to the list: it's a new record!
		if (!done) {
			scoreList[0] = newScore;
			lastScoreIndex = 0;
		}
		
		return lastScoreIndex;
	}