ts pre-class