changed an order of packages according to importancy