Adding tab assignment