completed section 5 of homework