Index: src/com/example/helloandroid/Fleet.java
===================================================================
--- src/com/example/helloandroid/Fleet.java	(revision 647a312b41ba04402bf61423d82619e553f06e5b)
+++ src/com/example/helloandroid/Fleet.java	(revision 012e702df3c7bf497ebc8d4ca48ba11e8ebedc69)
@@ -236,5 +236,10 @@
 			
 			double dist = Math.abs(destination.getY() - (Math.tan(direction)*destination.getX()) - xIntercept)/(double)Math.sqrt(Math.pow(direction,2)+1);
-			if(dist < 2){
+			int allowedError = 2;
+			if(nearPlanet.radius <= 10)
+				allowedError = 10;
+			else if(nearPlanet.radius <= 30)
+				allowedError = 5;
+			if(dist < allowedError){
 				dblY += (Math.sin(direction)*speed);
 				dblX += (Math.cos(direction)*speed);
@@ -246,4 +251,15 @@
 					isNextToAPlanet = false;
 					nearPlanet = null;
+					
+					slope = getSlope(x,y,destination.getX(),destination.getY());
+					
+					xIntercept = destination.getY() - (slope*destination.getX());
+
+					//direction
+					direction = Math.atan(slope);
+
+					//coordinates for all 4 coordinates
+					if((destination.getX() - x) < 0 )
+						direction += Math.PI;
 				}
 			} else {
Index: src/com/example/helloandroid/Game.java
===================================================================
--- src/com/example/helloandroid/Game.java	(revision 647a312b41ba04402bf61423d82619e553f06e5b)
+++ src/com/example/helloandroid/Game.java	(revision 012e702df3c7bf497ebc8d4ca48ba11e8ebedc69)
