lecture 2.6 changes for Rational