support for sub packages