trigger tab working version