started working on a detection mechanism for determining if the packages need to be different