added nextTab to object