now Use Variables in D3 to make it smaller