# when they looked

Here "they" refers to Peter, James, and John.