The child’s level of intellectual functioning is a factor in decision-making