isNew checking

Don't you mean this instead?