cogroup vs. join
implementation of join using cogroup and foreach
use field positions instead of names for consistency