Changed method to mark links absent/present