trial_function