add macro sample