Another working version of test 2