upload data structures