worked on supporting more complex dependencie