testfile now working perfectly