custodial measures