removed hardcoding of ip address