minor fixes for exercises four and five