additional check for array in tuple argument added