added construct_dependencies