I think you might have a scope issue if the code is the same as before