better support for the package dependency (simplified it)