adding resolv require