Calculating results.