gave up on macro, coded in array env