link with dynamic library now