Section 51.040