public void displayStats() {

		float dt = (float) ((System.nanoTime() - t0) * 1e-6);
		cam.beginHUD();
		text("total agents: " + manager.agents.size(), 10, 30);
		text("total pheromons: " + manager.pheroKDTree.keySet().size(), 10, 50);
		text("time: " + nf(dt, 1, 4) + "ms", 10, 70);
		cam.endHUD();

		if (frameCount % 10 == 0) {
			println(frameRate);
		}
	}