transferred structs to data.h