corrected ensure