removed tabs, ipv4_address regex, removed unused code