migrating data structs out