todo updated: now it seems arrays can only be of basic type ...