example for custom tab.