add examples to demonstrate the defer rules