updated - to work with dependency path