Wrote the first version of customscore