wrote the test for 5 and 6 and made to pass