Use array push instead of indices