Rename duration and add using declaration for clock