In custody cases courts in Pennsylvania decide based on what is in the best interest of the child. If parents cannot settle an agreement for the court to adopt, it will issue its own controlling order.