Add unfinshed functions to calculate score