Updated to use id=“fd” instead of fd_