add slider for delay