} else if (sourceSet.type() == Turtle.class) {
if (sourceSet != world.turtles()) { //sourceSet is not the entire set of turtles
if (world.isBreed(sourceSet)) { //source set is a breed
for (Iterator<Patch> iter = patches.iterator(); iter.hasNext();) {
Patch otherPatch = iter.next();
for (Turtle tempTurtle : otherPatch.turtlesHere()) {
if (sourceSet == tempTurtle.getBreed()) {
result.add(tempTurtle);
}
}
}