deprives pretrial liberty