useful macros for manipulating common data structures
