make dependency work