making dependencies recursively parse