new tabs

fixed my tab function