predata as input