cases 4 and 5

completed writing and testing cases 4 and 5