add current tab method