extract some dependencies