work on matching macro