section 4.4 almost finished