wrote a test case for 21 and 23 and made it pass