split() deprecated in php 5.3
changed to explode()