add duration selector