replaced split() with explode()