MS: Examples that demonstrates how to use the generateInteraction function