corrected for new source ids