add delay adjust functionality