Passes test 21
Implements test 22