Added score calculating method