Calculating the bottom line