trigger calss prototype