added inputing of server's ip address