Ordered that the judgment is affirmed insofar as appealed from, without costs or disbursements.
The court’s paramount concern in any custody dispute is to determine, under the totality of the circumstances, what is in the best interests of the children (see Eschbach v Eschbach,
The mother’s contention that the Supreme Court failed to consider her allegations of domestic violence is without merit. Where allegations of domestic violence are proven by a preponderance of the evidence, “the court must consider the effect of such domestic violence upon the best interests of the child[ren]” (Domestic Relations Law § 240 [1] [a]; see Matter of Khaykin v Kanayeva,
