getIP first version