sample problem from book