change get ip method name