Increase the length of object array

Please Format your code correctly. You can do so by pressing Strg+T in Processing and copying it in the place created by the </> sign When Sending the Post/ editing it.

And why don‘t you just set called to 0?
And what didn‘t work? Everything seems right to me…