making progress on semi join reduction stuff