Added package() function