correct trap input data prototypes