changed INTERNAL_IP to IP