Adding ipaddres to clss