removed unfinished addition
added ipaddress parameter