add generating min time