include a simple example for pat-moment