Different ways to obtain custody of a minor child