change method of selecting trials to use the mode