this code is suposed to work without any change?

I say this cause I get errors...