add createlink to allocate controller