purpose of trials