Added times function