moved declarations to structs.h file