collapsing dependencies