add basic dependency resolution, v1.1