add ip address to ip number function