complex example 1: array inside array, then call the method