output trial number