entity and sample