moved coarray data to struct