add utils file for common scoring functions