The if(seeLobster()) part would be in the act method of your crab class. The public boolean seeLobster() part would also be in your crab class as a seperate method (like right after the act(){ } method. I used the curly brackets to indicate the it would go after the matching bracket to the one immediately after public void act()

