added parseInt(for score)