adding unit to packages