check for arrays in construct()