enable tb to return just max or min time