prison terms will prove a deterrent