solution to error 9)
synchronization