rename duration to avoid naming conflicts