How not to end up in custody