added smart-tab