```
public Action getMove(CritterInfo info) {
      count++;
      Direction d = info.getDirection();
      if (count < 100) {   
         if (info.getFront() == Neighbor.OTHER) {
            return Action.INFECT;
         } else {
            return Action.RIGHT;
         }
      }
      if (count >= 100) {
         if (info.getFront() == Neighbor.OTHER) {
            return Action.INFECT;
         } else if (count / 100.0 < 2.0 && count / 100.0 >= 1.0 && !(d == Direction.EAST)) {
            return Action.LEFT;
         } else if (count / 100.0 < 3.0 && count / 100.0 >= 2.0 && !(d == Direction.WEST)) {
            return Action.RIGHT; 
         } else {
            return Action.HOP;
         }
      }
      return Action.INFECT;
   }

```

Right now I have this code that is part of my critter and i'm having problems are the `if (count >= 100)` part of the code. I can't get my go east and go west code to repeat itself because when I divide count by 100.0, it only works up until 299 then it just stays going west running into the wall. I've tried to set an else if statement after my go west code stating 

```
} else if (count == 299) {
       count = 0;
}

```

but this didn't solve my problem either. Any ideas? I just want my critter to sweep east and west over and over again.