add a function to do package times.