Employed spex.sug.setEndpoint()-function