split to packages