improved the performance of the relaxed-synch implementation and removed the potential of race conditions