macro finished, not tested