Fixed score, Added dist.