change reqtime int to time.Duration