added structs for flattr