changed hard coded address to host address.