simplified dependency resolving