new functions - tab and splittab