smart confinement