initialize the package variable in the view