add number of trial code