time measuring and storing in variables
dont polute the time format