Adding a working demo of nested templates