it would be an improvement if you can specify what type of object the time values will be.