Add example with terminal branches