model from/import structs