inserting scores to database