-------------------------------
                                                OMB APPROVAL
                                                -------------------------------
                                                OMB Number:  3235-0145
                                                Expires:  October 31, 2002
                                                Estimated average burden
                                                hours per form . . . . 14.9
                                                -------------------------------


                                  UNITED STATES
                       SECURITIES AND EXCHANGE COMMISSION
                             Washington, D.C. 20549

                                  SCHEDULE 13G

                    Under the Securities Exchange Act of 1934
                               (Amendment No. 2)*

                               Trex Company, Inc.
- -------------------------------------------------------------------------------
                                (Name of Issuer)

                     Common Stock, par value $.01 per share
- -------------------------------------------------------------------------------
                         (Title of Class of Securities)

                                   89531P 105
 ------------------------------------------------------------------------------
                                 (CUSIP Number)


                                December 31, 2001
 ------------------------------------------------------------------------------
             (Date of Event Which Requires Filing of this Statement)

Check the appropriate box to designate the rule pursuant to which this Schedule
is filed:

         |_|      Rule 13d-1(b)

         |_|      Rule 13d-1(c)

         |X|      Rule 13d-1(d)


*The remainder of this cover page shall be filled out for a reporting person's
initial filing on this form with respect to the subject class of securities, and
for any subsequent amendment containing information which would alter
disclosures provided in a prior cover page.

The information required on the remainder of this cover page shall not be deemed
to be "filed" for the purpose of Section 18 of the Securities Exchange Act of
1934 ("Act") or otherwise subject to the liabilities of that section of the Act
but shall be subject to all other provisions of the Act (however, see the
Notes).





                                  SCHEDULE 13G

                                                                          

- -------------------------------------                                              ---------------------------------------------

CUSIP No.   89531P 105                                                               Page     2    of      3       Pages
                                                                                             ---          ---
- -------------------------------------                                              ---------------------------------------------

- --------------------------------------------------------------------------------------------------------------------------------
1         NAME OF REPORTING PERSONS
          I.R.S. IDENTIFICATION NOS. OF ABOVE PERSONS (ENTITIES ONLY)

          Anthony J. Cavanna

- --------------------------------------------------------------------------------------------------------------------------------

2         CHECK THE APPROPRIATE BOX IF A MEMBER OF A GROUP (See Instructions)                                         (a) |_|
                                                                                                                      (b) |_|

- --------------------------------------------------------------------------------------------------------------------------------

3         SEC USE ONLY


- --------------------------------------------------------------------------------------------------------------------------------

4         CITIZENSHIP OR PLACE OF ORGANIZATION

                                  United States

- --------------------------------------------------------------------------------------------------------------------------------

                             5      SOLE VOTING POWER

         NUMBER OF                  2,069,370
          SHARES           -----------------------------------------------------------------------------------------------------
       BENEFICIALLY
         OWNED BY            6      SHARED VOTING POWER
           EACH
         REPORTING                   -0-
          PERSON           -----------------------------------------------------------------------------------------------------
           WITH
                             7      SOLE DISPOSITIVE POWER

                                    2,069,370
                           -----------------------------------------------------------------------------------------------------

                             8      SHARED DISPOSITIVE POWER

                                    -0-
- --------------------------------------------------------------------------------------------------------------------------------
9         AGGREGATE AMOUNT BENEFICIALLY OWNED BY EACH REPORTING PERSON
          2,069,370

- --------------------------------------------------------------------------------------------------------------------------------
10        CHECK BOX IF THE AGGREGATE AMOUNT IN ROW (9) EXCLUDES CERTAIN SHARES (See Instructions)
                                                                                                         [ ].
- --------------------------------------------------------------------------------------------------------------------------------
11        PERCENT OF CLASS REPRESENTED BY AMOUNT IN ROW (9)

          14.6%

- --------------------------------------------------------------------------------------------------------------------------------

12        TYPE OF REPORTING PERSON (See Instructions)

          IN
- --------------------------------------------------------------------------------------------------------------------------------
- --------------------------- -------------------------------- CUSIP No. 89531P 105 Page 3 of 3 Pages --- --- - --------------------------- -------------------------------- This Amendment No. 2 further amends the initial Schedule 13G filed on February 14, 2000, as amended by Amendment No. 1 filed on February 14, 2001, by Anthony J. Cavanna (the "reporting person") relating to the common stock, par value $.01 per share, of Trex Company, Inc. Item 4. Ownership: Item 4 is hereby amended and restated in its entirety as follows: As of December 31, 2001, Anthony J. Cavanna beneficially owns in the aggregate the following: (a) Amount Beneficially Owned: 2,069,370 (b) Percent of class: 14.6% (c) Number of shares to which such person has: (i) Sole power to vote or to direct the vote: 2,069,370 (ii) Shared power to vote or to direct the vote: 0 (iii) Sole power to dispose or to direct the disposition of: 2,069,370 (iv) Shared power to dispose or to direct the disposition of: 0 SIGNATURE After reasonable inquiry and to the best of my knowledge and belief, I certify that the information set forth in this Amendment No. 2 to Schedule 13G is true, complete and correct. By: /s/ Anthony J. Cavanna -------------------------- Anthony J. Cavanna Date: February 8, 2002