passes test 2 as well