finished example 1C