Had to make a change in scoring mechanism due to new Xcode 6.1 rules