ipFillPlaceholders function