add ip validation routines