move link defs to the bottom so as not to break the auto summary functionality