As this array can grow quite large, the transactions gas cost could exceed the block gas limit and make it impossible to call this function at all (see @audit):
Consider introducing a reasonable upper limit based on block gas limits and/or adding a remove method to remove elements in the array.
