rename times => actions
d3 code
switch in d3 code temporarily