first cut of new ip conversion routines