adding fd