arrange the packages