Less error prone ip code