* @param client
	 */
	private void cmd_recycle(final String arg, final Client client) {
		final Player player = getPlayer(client);

		// run the recycle function
		// need to find object whose name is arg and pass that object to
		// cmd_recycle, food for thought here -- 4.15.2010

		MUDObject object = null;
		final int dbref = Utils.toInt(arg, -1);

		if (dbref != -1) { // if we found one
			try {
				object = getObject(dbref);
			}
			catch (final NullPointerException npe) {
				System.out.println("--- Stack Trace ---");
				npe.printStackTrace();
			}
		}
		else { // or, maybe not (try strings)
			object = getObject(arg);
		}

		if (object != null && !(object instanceof Player)) { // if we got an object and we have a valid player
			boolean success = false;

			String name = object.getName();
			int num = object.getDBRef();

			if (object instanceof Thing) {
				Thing thing = (Thing) object;
				Room room = getRoom(thing.getLocation());

				// remove thing from room
				room.removeThing(thing);     // remove the thing from the room
				objectDB.removeThing(thing); // recycle the thing (remove from database -- only partial)

				success = true;
			}
			else if (object instanceof Exit) {
				Exit exit = (Exit) object;
				Room room = getRoom(exit.getLocation());

				room.removeExit(exit); // remove exit from room
				objectDB.removeExit(exit); // remove exit from db

				success = true;
			}
			else if (object instanceof Room) {
				send("Recycle: Room recycling broken, needs to do a better job of cleaning up the room.", client);

				Room room = (Room) object;

				// destroy exits from this room
				for(final Exit exit : room.getExits()) {
					if( exit.getExitType() == ExitType.STD ) {
						// does it remove names?
						objectDB.removeExit(exit);
					}
				}

				objectDB.removeRoom(room); // recycle the room

				success = true;
			}
			else {
				send("Recycle: Cannot recycle that. (" + object.getClass().getName() + ")", client);
			}

			if (success) {
				String msg = name + "(#" + num + "): Recycled."; // i(#127728): Recycled.

				objectDB.remove(object); // clear the database entry (object)

				send(msg, client);
			}
		}
	}