trials: sped up program with sets