changed synchronization to thread safe collection wrapper