add ensure utility