trial code