use max to delay