fd complete, todo: testing