added file for extracting connections