Your first example doesn't even do the same thing.