theta, pi, and r-squared