Limit input length
Keep track of start times