not doing synchronization in the loop
added test