* @param arg
	 * @param client
	 */
	private void cmd_dig(final String arg, final Client client) {
		final Player player = getPlayer(client);
		final Room room = getRoom( player.getLocation() );

		if (arg.indexOf("=") != -1) {
			final String[] args = arg.split("=");

			final String name = Utils.trim(args[0]);
			final int parent = Utils.toInt(args[1], 0);

			System.out.println("Room Name:   " + name);
			System.out.println("Room Parent: " + parent);

			final Room room1 = createRoom(name, parent);

			// add rooms to database (main)
			objectDB.addAsNew(room1);
			objectDB.addRoom(room1);
			
			final String roomName = room1.getName();
			final Integer roomDBRef = room1.getDBRef();
			final Integer rLocation = room1.getLocation();

			// tell us about it (getLocation() vs getParent()?)
			send("Room '" + roomName + "' created as #" + roomDBRef + ". Parent set to " + rLocation + ".", client);
		}
		else {
			final List<String> directions = Utils.mkList("north", "northeast",
					"northwest", "south", "southeast", "southwest", "east",
					"west", "up", "down");

			if (directions.contains(arg.toLowerCase())) {
				final String rName = "new room";
				final int rParent = room.getDBRef();

				System.out.println("Room Name:   " + rName);
				System.out.println("Room Parent: " + rParent);

				final Room room1 = createRoom(rName, rParent);

				// add rooms to database (main)
				objectDB.addAsNew(room);
				objectDB.addRoom(room);

				final String roomName = room1.getName();
				final Integer roomDBRef = room1.getDBRef();
				final Integer rLocation = room1.getLocation();

				// tell us about it (getLocation() vs getParent()?)
				send("Room '" + roomName + "' created as #" + roomDBRef + ". Parent set to " + rLocation + ".", client);

				// create the directional exit
				final Exit exit = new Exit(arg.toLowerCase(), room.getDBRef(), room1.getDBRef());

				objectDB.addAsNew(exit);
				objectDB.addExit(exit);

				// add the exit to the source room
				room.addExit(exit);

				// tell us that we succeeded in creating the exit
				final String exitName = exit.getName();
				final Integer exitDBRef = exit.getDBRef();
				final Integer eLocation = exit.getLocation();
				final Integer destination = exit.getDestination();

				send("You open an exit called " + exitName + "(#" + exitDBRef + ")" + " from #" + eLocation + " to #" + destination + ".", client);

				// move player to room and show room?
			}
			else {
				send(gameError("@dig", ErrorCodes.INVALID_SYNTAX), client); // Invalid Syntax Error
			}
		}
	}