don't pollute global namespace with 'data' variable in item.newEntity