added dynamic delay in Cloud