keep link insertion place

Okay. If you'd like to merge #12 I'll rewrite this after you merged that.