figure out fd