ready to do fig3.40