Changed time code to duration