Working (untested) scores function in entry