working on explode method