let’s make this less complex & allow just array and boolean.