homewrk 4.6.5