modifications needed in the specific part to get it working with inverted links