started adding correct IPs to array