Restored the loop ordering to src->ses