private Shape selectRandomShape() {

		Random rand = new Random();
		int randomNumber = rand.nextInt(7);

		switch (randomNumber) {
		case 0:
			return new IShape();
		case 1:
			return new JShape();
		case 2:
			return new LShape();
		case 3:
			return new OShape();
		case 4:
			return new SShape();
		case 5:
			return new TShape();
		case 6:
			return new ZShape();

		}
		return null;
	}