modified for sync with Bari
macros to study Z+X background