added switchToNewTab again