adds date formatter, rename some synch macros