Added function to support time.