extracted SynchronizedArray to own file