add ability to build mixed array types