void emptyPenBox() {
		assert (home != null && away != null);
		// empty the penalty box
		int i = 0;
		while (i < penBox.homePlayer.GetNofPlayers()) {
			Player player = penBox.homePlayer.GetPlayer(i);
			player.decPenSec();
			if (player.getPenSec() == 0) {
				// player goes from penbox onto ice
				getEvent().bitSet.set(RETURN_FROM_PEN);
				penBox.homePlayer.RemovePlayer(player);
				if (penBox.homePlayer.GetNofPlayers() < 2) {
					// if 2 or more in pen box, still 3 on ice !
					onIce.homePlayer.InsertPlayer(player);
				}
			} else {
				i++;
			}
		}
		i = 0;
		while (i < penBox.awayPlayer.GetNofPlayers()) {
			Player player = penBox.awayPlayer.GetPlayer(i);
			player.decPenSec();
			if (player.getPenSec() == 0) {
				// player goes from penbox onto ice
				getEvent().bitSet.set(RETURN_FROM_PEN);
				penBox.awayPlayer.RemovePlayer(player);
				if (penBox.awayPlayer.GetNofPlayers() < 2) {
					// if 2 or more in pen box, still 3 on ice !
					onIce.awayPlayer.InsertPlayer(player);
				}
			} else {
				i++;
			}
		}

	}