client now takes ip address input