make entity creation optional