FARM macro for replace down (Chapter 3.2)