 				if (bodyCount == 0) {
 					bodyCount = path.length-1;
 				}
-				/*
-				for(var i:int = size+1; i > 0 ; i--) {					
-					path[i] = path[i-1];
-				}
-				*/
+				
 			}		
 			
 		}

					//rocks[i] = null;
					//this.removeChild(symRocks[i]);
				}
				else if (snake.hitTestObject(rocks[i])) {
					
						if (dir=="d") {
							reverse("up", snake);
						}
						if (dir =="u") {
							reverse("down", snake);
						}
						if (dir=="r") {
							reverse("left", snake);
						}
						if (dir=="l") {
							reverse("right", snake);
						}
										
				}
			}
			
			
			
				
				
			
			/*
			else {
				
			}
			*/
			
				/*
				if (snakeBods[i].x < 50){
					snakeBods[i].x = 50;
				}
				
				if (snakeBods[i].x > stage.stageWidth - 50){
					snakeBods[i].x = stage.stageWidth-50;
				}
				if (snakeBods[i].y > stage.stageHeight - 50){
					snakeBods[i].y = stage.stageHeight - 50;
				}
				if (snakeBods[i].y < 50){
					snakeBods[i].y = 50;
				}
				*/
				
			
			//I need to redo turnSnake and put all these things that repeat in there.
			if (snake.x<50) {
				
				

		public var dir:String; //l,r,u,d for the direction the snake is going.
		public var turn:Boolean = false;
		public var bounce:Boolean = false;
		private var path: Array = new Array(size+1);  //this three dimensional array holds the number of snake body segments (including the tail) of path[i][x,y,r] = [x position, y position, and rotation being 0,1,2,3] for 0=vertical 1=90 degrees clockwise 2=180 and 3=270!  This will be stored 10 times for each segment to follow the path of the snake head.
		private var pCount:int = 0; //path counter
		private var pathMax:int = b/2;  // maximum paths needed to remember = the width of a body divided by the pixels moved per frame... or b/vx. if vx/y changes you must change 2 to match.
		private var bodyCount:int = path.length-1;
