link with server code