added var to entity