added a trial clock