dividing into packages