How is custody determined in massachusetts?

previous post