expand_trials function

Expand trials