limiting the length of each time