public Hit intersect(Ray ray) {
		
		ArrayList<AbstractShape> sortedList = new ArrayList<AbstractShape>();

		for (AbstractShape shapes : sortedList) {
			if (shapes.intersect(ray) != null) {
				return shapes.intersect(ray);
			}
		}
		return null;
	}