add struc for validate