You changed $ensured to $ensure here.