str_ deprecated, can't work in 2.7