added ip address/str as argument to addft