pulling out dependencies