refactor score and record just a bit