Added logging, internal arrangement for trials.