add preliminary support for array types