changed scoring algorithms