write cell macros tested
loops scratch