 			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;

			}
			
		}
		//all this needs to be fixed again to go along with being added to the stage instead of the snake.
		//now I am cutting out the use of this method to turn the snake bodies a different way.
		public function turnSnake(dir:String, snake:Sprite):void {  //input the direction of the turn with the keyboard event; "up" "down" "left" or "right" (right could actually be any other string.)
			
			//var bods:Array = body;

						}
						
					}
					if (dir == "l") { 
						
						if (snake.x>xTurn-b*2) {
							if(i==0) {
								snakeBods[i].x = snake.x+b;
								snakeBods[i].y = yTurn;
