mod test main to get more precise time.