Added bonus scoring logic