add checking the package