rename time to duration