added ip getter