changed score function to failscount*10000