added chain scoring