now we have to transform to an c# array