array typedef corrected