Before adding tabs to main