Section 158.040