tried to test subset2 and test files for the single line statements annd multitline statements after putting into a function