created bestChild method