Added link encoding