 			else if(bounce) {
 				for(var i:int = 0; i<snakeBods.length; i++) {
 					
-					if (dir == "r") { //trying this out
-						
-						if (snake.x<b*3) {
+					if (dir == "r") { 
+						
+						if (snake.x<xTurn+b*2) {
 							if(i==0) {
 								snakeBods[i].x = snake.x-b;
 								snakeBods[i].y = yTurn;

			for(var i:int = 0; i<size+1; i++) {
				snakeBods[i].x += vx;
				snakeBods[i].y += vy;
			}	
				
			
			if (turn) {
				//var j:int = 0;
				for(var i:int = 0; i<snakeBods.length; i++) {
					//j++;

			//I need to redo turnSnake and put all these things that repeat in there.
			if (snake.x<50) {
				
				
				reverse("right", snake);
							
			}
			if (snake.x>stage.stageWidth-50){				
				
				reverse("left", snake); 
				
			}			
			if (snake.y>stage.stageHeight-50) {
				
				reverse("up", snake);
			
			}
			if (snake.y<50) {
				
				reverse("down", snake);	
			
			}			
		}
		public function keyDownHandler(event:KeyboardEvent):void {
