Added new algorith and scoring system