removed superfluous global dots array