I don't understand: aren't the two pieces of code doing the same thing?