master: getting packages in order