Ip adress check - updated