optimizing scoring