Basicaly, you have function CheckIP which takes as argument something what is not ip.