added option for vertex linking