changed time duration handling