added dependeny matrix