ensure structure