removed ip address logic