added macro for synch purposes