changed from ent to app var