thanks! i wonder why the other way worked when i checked the test output?