changed score type from Double to Int