scorers: refactoring of functions