adding packages to the model