coding.. re: time calcs