Before revision:   In particular, we construct AY martingales with a given terminal law and this allows us to rediscover the AY solution to the Skorokhod embedding problem.
After revision:  In particular, we construct Azema-Yor martingales with a given terminal law and this allows us to rediscover the AY solution to the Skorokhod embedding problem.