How Does A Judge Determine Custody