added scoring functs