separate package by categories