added scales for xScale & yScale