addressed the deprivation warning

The update concerns the Deter function