Why not just iterate over all_students and do the PeerLocation call in the loop?