winner calculates