made an experiment class to measure time