Move data into a struct