fixed empty-variable early-exit
removed early-termination (fixed in a better way)
aesthetic spacing
re-arranged variable placement
added note on ipv6