use ent in conditional