go back to str_replace() after more tests itss better