defentity now public for downstream usage