adding enity ref