Use a different data structure to store the times