giving tread class