Small changes to explore trials function.