add delay support