implemented ReportScore in database API