static dynamic macro effect