Dealing with divorce and custody