Added ensure param