a better explanation of the test code