scrap util.spawn_entity