added scheduled time and confirm feature