added (buggy) synchronization