add an example for inherit directive