implementing trigger bit (still to be tested)