changing turns and score to number type