design the package of core