Confguring duration