create tab before assigning it to so many variables