split() is deprecated, replace with explode()