new gaia helper macros