detector effects macros added