wrote a test case for 22 and made it pass