better support for dependencies