explode function added