decorator function on add_effects