link to connect to the middle_end