updated to adding a double for ranking points