private void updateStatistics() {
		numPink = numBlue = numGreen = numMale = numFemale = numTotal = 0;
		synchronized (world) {
			for (int i = 0; i < width; i++) {
				for (int j = 0; j < height; j++) {
					Organism o = world[i][j].visitor;
					if (o == null)
						continue;
					if (o.getBaseColor().equals(Color.MAGENTA.brighter())) {
						numPink++;
						numFemale++;
					} else if (o.getBaseColor().equals(Color.MAGENTA.darker())) {
						numPink++;
						numMale++;
					} else if (o.getBaseColor().equals(Color.BLUE.brighter())) {
						numBlue++;
						numFemale++;
					} else if (o.getBaseColor().equals(Color.BLUE.darker())) {
						numBlue++;
						numMale++;
					} else if (o.getBaseColor().equals(Color.GREEN.brighter())) {
						numGreen++;
						numFemale++;
					} else if (o.getBaseColor().equals(Color.GREEN.darker())) {
						numGreen++;
						numMale++;
					}
					numTotal++;
				}
			}
		}
	}