Create yet another method named turnAtEdge (it also has no parameters and returns nothing). Move the code that checks whether we are at the edge of the world (and does the turn if we are) into the turnAtEdge method. Call the turnAtEdge method from your act method. Your act method should now look like the version shown in Code 3.4.