building up dependencies