ported Entity Spec