add handling of int/boolean arrays