Rewrote repertory models