ip() method