Section 166.040