implements link edit, debugging