Added duration easing method